﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using model;
using business;

namespace service
{
    public class LoaibaivietService
    {
        LoaibaivietBUS loaiBaiVietBUS = new LoaibaivietBUS();
        public List<Loaibaiviet> GetListAllLoaiBaiviet()
        {
            return loaiBaiVietBUS.GetListAllLoaiBaiviet();
        }

        public Loaibaiviet GetBaivietaByName(string nameBaiviet)
        {
            return loaiBaiVietBUS.GetBaivietaByName(nameBaiviet);
        }
    }
}
